home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 5.3 for Indy R4400
/
IRIX 5.3 for Indy R4400 175MHz.img
/
dist
/
eoe2.idb
/
usr
/
sadm
/
install
/
scripts
/
i.awk.z
/
i.awk
Wrap
Text File
|
1995-02-28
|
526b
|
34 lines
#ident "@(#)oampkg:pkgscripts/i.awk 1.5"
error=no
while read src dest
do
[ "$src" = /dev/null ] && continue
echo "Modifying $dest"
savepath=$PKGSAV/awk${dest}
dirname=`dirname $savepath`
if [ $? -ne 0 ]
then
error=yes
continue
fi
if [ ! -d $dirname ]
then
# ignore return code since mkdir has bug
mkdir -p $dirname
fi
cp $src $savepath &&
/usr/sadm/install/scripts/cmdexec /usr/bin/awk install $savepath $dest
if [ $? -ne 0 ]
then
error=yes
continue
fi
done
[ "$error" = yes ] &&
exit 2
exit 0